﻿using System.ComponentModel.DataAnnotations;

namespace Shop.Model.Dto.Block;

public class BlockAddDto
{
    /// <summary>
    /// 持卡人姓名
    /// </summary>
    [Required(ErrorMessage = "持卡人姓名不可为空")]
    public string Possessor { get; set; }
    
    /// <summary>
    /// 银行卡号
    /// </summary>
    [Required(ErrorMessage = "银行卡号不可为空")]
    public string Card { get; set; }
    
    /// <summary>
    /// 验证码
    /// </summary>
    [Required(ErrorMessage = "验证码不可为空")]
    public string Code { get; set; }
}